#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
int prime(int n)
{
	for (int i = 2; i <= sqrt(n); i++)
	{
		if (n % i == 0)
		{
			return 0;
		}
	}
	return 1;
}
int main()
{
	int n = 0;
	int count = 0;
	for (n = 100; n <= 200; n++)
	{
		if (prime(n))
		{
			printf("%d ", n);
			count++;
		}
	}
	printf("\ncount = %d", count);
	return 0;
}